package com.zhengxyou.jetpackdemo.room.databaseView;

import androidx.room.DatabaseView;

@DatabaseView(viewName = "user_detail", value = "SELECT user.id,user.first_name,user_info.tel AS phone_num " +
        "FROM user INNER JOIN user_info on user.id = user_info.uid")
public class UserDetail {
    public long id;
    public String name;
    public String phone_num;
}
